<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vuefilecontrol</title>
</head>

<body>
    <!-- data数据里可以放各种类型的数值 -->
    <div>
        {{message.name}} {{message.Number}}
        <!-- 对象值通过点余的方式来获取 -->
        <p>
            {{school[0]}} {{school[2]}}
        </p>
    </div>

</body>
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script>
    var app = new Vue({
        el: "div ",
        data: {
            // 对象
            message: {
                name: "盒马先生",
                Number: "1234566"
            },
            // 数组
            school: ["宜宾", "上海", "广东"]

        }
    })
</script>

</html>